projects
/
babl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a3aaa9
)
babl: use floating point version of srgb trc func
author
Øyvind Kolås
<pippin@gimp.org>
Thu, 31 Aug 2017 15:27:20 +0000
(17:27 +0200)
committer
Øyvind Kolås
<pippin@gimp.org>
Thu, 31 Aug 2017 15:27:20 +0000
(17:27 +0200)
babl/babl-trc.c
patch
|
blob
|
history
diff --git
a/babl/babl-trc.c
b/babl/babl-trc.c
index 29c56db91051d8ac94d092a2913c0dfab48765aa..9275cb69b408631a7e407bebf8e0703fcfc75024 100644
(file)
--- a/
babl/babl-trc.c
+++ b/
babl/babl-trc.c
@@
-470,7
+470,7
@@
static inline float _babl_trc_gamma_2_2_from_linear (const Babl *trc_, float x)
static inline float _babl_trc_srgb_to_linear (const Babl *trc_, float value)
{
- return babl_gamma_2_2_to_linear (value);
+ return babl_gamma_2_2_to_linear
f
(value);
}
static inline float _babl_trc_srgb_from_linear (const Babl *trc_, float value)